﻿using System.Collections.ObjectModel;
using Newtonsoft.Json;

namespace OpenNOSClient
{
    public class SearchResult
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public ReadOnlyCollection<Document> Documents { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly"), JsonProperty(PropertyName = "keywords")]
        public ReadOnlyCollection<Related> Related { get; set; }
    }
}
